
export const route404 = {
    path: '/:pathMatch(.*)*',
    name: '404',
    component: () => import('~/components/common/Comp404.vue'),
    meta: {transition: 'slide-left'},
}

export const home = {
    path: 'home',
    name: 'home',
    component: () => import('~/components/common/Home.vue'),
    meta: {label: '首页', icon: 'r_home'},
}

export const login = {
    path: '/login', name: 'login', component: () => import('@/account/UserLogin.vue')
}

export const layout = {
    path: '/',
    name: 'layout',
    redirect: '/home',
    component: () => import('~/components/common/Layout.vue'),
    children: [
        home
    ]
}
